package com.yang.entity;

import java.util.Date;

public class Essay {
    private Integer eid;

    private String cid;

    private String etitle;

    private String estate;

    private Integer epageview;

    private Integer ecoods;

    private String epromulgator;

    private Date ecreatetime;

    private Date esettingtime;

    private String eissay;

    private String ephoto;

    private String econtent;

    //状态 发布状态
    public static final String ESSAY_STATE_SEND = "0";

    //状态	草稿状态
    public static final String ESSAY_STATE_ROUGH = "1";

    public static final String ISSAY_TRUE = "0";

    public static final String ISSAY_FALSE = "1";

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid == null ? null : cid.trim();
    }

    public String getEtitle() {
        return etitle;
    }

    public void setEtitle(String etitle) {
        this.etitle = etitle == null ? null : etitle.trim();
    }

    public String getEstate() {
        return estate;
    }

    public void setEstate(String estate) {
        this.estate = estate == null ? null : estate.trim();
    }

    public Integer getEpageview() {
        return epageview;
    }

    public void setEpageview(Integer epageview) {
        this.epageview = epageview;
    }

    public Integer getEcoods() {
        return ecoods;
    }

    public void setEcoods(Integer ecoods) {
        this.ecoods = ecoods;
    }

    public String getEpromulgator() {
        return epromulgator;
    }

    public void setEpromulgator(String epromulgator) {
        this.epromulgator = epromulgator == null ? null : epromulgator.trim();
    }

    public Date getEcreatetime() {
        return ecreatetime;
    }

    public void setEcreatetime(Date ecreatetime) {
        this.ecreatetime = ecreatetime;
    }

    public Date getEsettingtime() {
        return esettingtime;
    }

    public void setEsettingtime(Date esettingtime) {
        this.esettingtime = esettingtime;
    }

    public String getEissay() {
        return eissay;
    }

    public void setEissay(String eissay) {
        this.eissay = eissay == null ? null : eissay.trim();
    }

    public String getEphoto() {
        return ephoto;
    }

    public void setEphoto(String ephoto) {
        this.ephoto = ephoto == null ? null : ephoto.trim();
    }

    public String getEcontent() {
        return econtent;
    }

    public void setEcontent(String econtent) {
        this.econtent = econtent == null ? null : econtent.trim();
    }
}